package top.tenebrous.yzl.im.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yazhang6
 */
@ConfigurationProperties(prefix = "yzl.im.work-pool")
@Data
@Component(value = "workPoolProperties")
public class WorkPoolProperties {

        /**
         * 核心线程数
         */
        private Integer corePoolSize;

        /**
         * 最大线程数
         */
        private Integer maxPoolSize;

        /**
         * 队列容量
         */
        private Integer queueCapacity;

}